package com.ezhou.hy.exception;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class ConnectionException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 700092772230898641L;
	private static Log log = LogFactory.getLog(ConnectionException.class);
	
	
	public ConnectionException(){
		super();
	}
	
	public ConnectionException(Exception e){
		super(e);
		log.error(e.getMessage());
	}
	
	public ConnectionException(String message){
		super(message);
		log.error(message);
	}

}
